home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dbase / db3ut10u.zip / FGREP3.DOC < prev    next >
Text File  |  1991-10-12  |  2KB  |  62 lines

  1. NAME
  2.     fgrep3 - fgrep into dBase III files v1.2, may 1991.
  3.  
  4.  
  5. SYNOPSIS
  6.     fgrep3 [-ivclh] [-F c] str file [files...]
  7.  
  8.  
  9. DESCRIPTION
  10.     `fgrep3' searches into `files' (in dBase III format) for records
  11.     containing the `str' pattern, when a match is found the
  12.     corresponding record is echoed to the standard output.
  13.  
  14.     Output is in the form:
  15.  
  16.             file(n)= field1:field2: ... :fieldN
  17.  
  18.     where `n' specifies the record number of the matching record. If
  19.     "-F" option is specified then the character "c" is used as field
  20.     separator for output instead of ":".
  21.  
  22.  
  23. COMMAND LINE OPTIONS
  24.     -i      ignore case
  25.     -v      print only lines that do not match `str'
  26.     -c      print only a count of lines matched for each file
  27.     -l      print only names of files that have matches
  28.     -h      help
  29.     -F c    use `c' as output field separator
  30.  
  31.  
  32. EXIT STATUS
  33.     0       at least a match has been found in any of the files
  34.             specified
  35.     1       usage error
  36.     2       no match has been found
  37.     3       no match found and errors opening one or more files
  38.     4       unknown command line option
  39.  
  40.  
  41. EXAMPLES
  42.     fgrep3 -v 3000 *.dbf
  43.  
  44.  
  45. SEE ALSO
  46.     count3, egrep3, pack3, stru3, zap3.
  47.  
  48.  
  49. AUTHORS
  50.     Legovich Danilo.
  51.  
  52.  
  53. COPYRIGHT
  54.     This program is a part of a shareware product. You may register
  55.     using the order form (file "ORDER.TXT") provided with the package.
  56.     For any suggestion or problem contact the author at this e-mail
  57.     address:
  58.  
  59.         dany@alessia.dei.unipd.it
  60.  
  61.  
  62.